package com.inspur.cloud.entity.dataspace.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
@ApiModel(value = "首页返回使用情况统计，管理员返回全局资源统计，租户返回租户资源统计")
public class StatusVO {

    @ApiModelProperty(value = "分配Yarn的资源占用比例")
    private float yarnCapacity;
    @ApiModelProperty(value = "Yarn队列总核数")
    private Integer yarnTotalCpu;
    @ApiModelProperty(value = "Yarn队列已用核数")
    private Integer yarnUsedCpu;
    @ApiModelProperty(value = "Yarn队列剩余核数")
    private Integer yarnUnUsedCpu;
    @ApiModelProperty(value = "Yarn队列总内存")
    private Long yarnTotalMemory;
    @ApiModelProperty(value = "Yarn队列已用内存")
    private Long yarnUsedMemory;
    @ApiModelProperty(value = "Yarn队列剩余内存")
    private Long yarnUnUsedMemory;
    @ApiModelProperty(value = "1.MB 2.GB 3.TB；换算单位为1024")
    private Integer yarnMemoryUnit;
    @ApiModelProperty(value = "Hbase命名空间的名字")
    private String hbaseSpaceName;
    @ApiModelProperty(value = "hdfs总计目录数")
    private Integer hdfsDirNum;
    @ApiModelProperty(value = "hdfs可用空间")
    private Long hdfsRemaining;
    @ApiModelProperty(value = "hdfs开放目数")
    private Integer hdfsResNum;
    @ApiModelProperty(value = "1.MB 2.GB 3.TB；换算单位为1024")
    private Integer hdfsUnit;
    @ApiModelProperty(value = "hdfs已用空间")
    private Long hdfsUsed;
    @ApiModelProperty(value = "hive数据库名字")
    private String hiveDbName;
    @ApiModelProperty(value = "kafka的Topic数量")
    private Integer kafkaTopicNum;
    @ApiModelProperty(value = "用户使用了哪些组件")
    List<String> resourceList;


}
